/*
 * Created on Jun 28, 2005
 *
 */
package com.erclab.internal.xpresso.formelements;

import com.erclab.internal.xpresso.exceptions.FormException;
import com.erclab.internal.xpresso.forms.Form;

/**
 * @author Enrique Rodriguez.
 *
 */
public class SimpleLabel extends FormElement {

	/* (non-Javadoc)
	 * @see com.erclab.internal.xpresso.formelements.FormElement#toHTML(com.erclab.internal.xpresso.forms.Form)
	 */
	public String toHTML(Form theForm) {
		return "";
	}

	/* (non-Javadoc)
	 * @see com.erclab.internal.xpresso.formelements.FormElement#loadLookupValues(com.erclab.internal.xpresso.forms.Form)
	 */
	public void loadLookupValues(Form theForm) throws FormException {
		// Nothing to do. Not necessary for SimpleLabel
	}
	
	

	/* (non-Javadoc)
	 * @see com.erclab.internal.xpresso.formelements.FormElement#isModifiable()
	 */
	public boolean isModifiable() {
		return false;
	}

	/* (non-Javadoc)
	 * @see com.erclab.internal.xpresso.formelements.FormElement#loadOriginalValue(com.erclab.internal.xpresso.forms.Form)
	 */
	public void loadOriginalValue(Form f) throws FormException {
		// Nothing to do. Not necessary for SimpleLabel
	}

}
